-
Home
-
WP Discourse
-
2.2.6
-
Code
-
Classes
- DiscourseComment
Total Complexity |
59 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
418 |
Lines of code |
230 |
Logical lines of code |
143 |
Comment lines |
117 |
Methods |
11 |
Properties |
3 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sync_comments() |
B |
37 |
16 |
68 |
comments_template() |
A |
47 |
10 |
33 |
get_comment_type_for_post() |
A |
52 |
9 |
24 |
get_comments_number() |
S |
51 |
7 |
25 |
get_discourse_comments() |
S |
60 |
5 |
12 |
discourse_comments_js() |
S |
57 |
3 |
16 |
initialize_comment_route() |
S |
58 |
2 |
17 |
setup_options() |
S |
67 |
3 |
8 |
extend_allowed_html() |
S |
61 |
2 |
13 |
__construct() |
S |
61 |
1 |
11 |
setup_logger() |
S |
80 |
1 |
3 |